﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Oplaco.Core.BusinessLogicLayer;

namespace Oplaco.Web.DTO.IMPL
{
    /// <summary>
    /// 
    /// </summary>
    public class CachedStatistics : ICacheableDataTransferObject<CachedLocation>
    {      

        #region Property get&set
        public int Id { get; set; }
        public int Rank { get; set; }
        public int MemberId { get; set; }
        public string Title { get; set; }
        public string Url { get; set; }
        public bool HasChilds { get; set; }

        public DateTime PublishDate { get; set; }
        public DateTime LastGenerated { get; set; }

        public int ActiveAds { get; set; }
        public int ActiveAdResponses { get; set; }
        public int DeletedAds { get; set; }
        public int NewUsers { get; set; }
        public int PendingAds { get; set; }
        public int TotalAds { get; set; }
        public int TotalResponses { get; set; }
        public int TotalUsers { get; set; }
        public int TopCategories { get; set; }

        public ICollection<CachedLocation> ChildCollection
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
